package cn.kgc.novel.pojo;

import org.springframework.stereotype.Component;

import java.util.List;
//袁宇灏
@Component
public class HistoryUser {
    private int id;
    private List<HistoryBook> historyBooks;

    private List<Bookshelf> bookshelves;

    @Override
    public String toString() {
        return "HistoryUser{" +
                "id=" + id +
                ", historyBooks=" + historyBooks +
                ", bookshelves=" + bookshelves +
                '}';
    }
    public List<Bookshelf> getBookshelves() {
        return bookshelves;
    }

    public void setBookshelves(List<Bookshelf> bookshelves) {
        this.bookshelves = bookshelves;
    }
    public HistoryUser() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public List<HistoryBook> getHistoryBooks() {
        return historyBooks;
    }

    public void setHistoryBooks(List<HistoryBook> historyBooks) {
        this.historyBooks = historyBooks;
    }
}

